﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CDC.SampleShell.Applications
{
    public sealed class FormViewModel : ViewModelBase
    {
        private readonly Epi.View _form;

        public ProjectViewModel ProjectViewModel { get; private set; }

        public FormViewModel(Epi.View form, ProjectViewModel projectViewModel)
        {
            _form = form;
            ProjectViewModel = projectViewModel;
        }

        public string Name
        {
            get
            {
                return _form.Name;
            }
        }

        public int Id
        {
            get
            {
                return _form.Id;
            }
        }
    }
}
